package com.example.redis.dao;

import com.example.redis.entity.TestDemo;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

/**
 * @author xianxin
 * @since 2020/8/21
 */
@Repository
public interface TestDemoDao extends CrudRepository<TestDemo, Integer> {

    TestDemo findByNameAndCity(String name, String city);
}
